/*
 * Created on 2006-7-5
 */
package field;

public class Statistics {
	int numO2sMessages;

	int numS2oMessages;

	public Statistics() {
		numO2sMessages = 0;
		numS2oMessages = 0;
	}

	public int getTotalMsgs() {
		return numO2sMessages + numS2oMessages;
	}

	public double getTotalMsgRate(int numTimeSteps) {
		return getTotalMsgs() / numTimeSteps;
	}

}
